<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('吊销CA证书')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
 	<form class="form-horizontal m" id="form-revokeCA">
		<input type="hidden" name="rootId" th:value="${rootId}">
         <div class="form-group">
           <label class="col-sm-3 control-label">吊销理由：</label>
			<div class="col-sm-9">
			    <select class="form-control" name="reason">
			    	<option value="0">未指定原因（unspecified）</option>
			        <option value="1">密钥被泄露（keyCompromise）</option>
			       	<option value="2">CA私钥泄露（CACompromise）</option>
			       	<option value="3">证书持有者归属关系发生变化（affiliationChanged）</option>
			       	<option value="4">证书已经被替代（superseded）</option>
			       	<option value="5">证书持有者停止运营（cessationOfOperation）</option>
			       	<option value="6">证书暂停使用（certificateHold）</option>
			       	<option value="8">从 CRL 中移除（removeFromCRL）</option>
			       	<option value="9">权限撤销（privilegeWithdrawn）</option>
			       	<option value="10">AA密钥被泄露（aACompromise）</option>
			      
			    </select>
			</div>
        </div>
        
        
    </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
    var prefix = ctx + "ca";
    
    function submitHandler() {
    	 $.operate.save(prefix + "/revokeCa", $('#form-revokeCA').serialize());
      
    }
	    
    </script>
</body>
</html>
